Skip to main content

FlowDocument Constructors

An object defining constructors for the FlowDocument class.

FlowDocument(name, workflowData, workflowCodeInstance)

Constructor for the FlowDocument class. Initializes a new instance of the FlowDocument class.

Parameters:

name (required): string
The name of the flow object.

workflowData (required): IRuntimeWorkflowData
The workflow data associated with the flow object.

workflowCodeInstance (optional): IWorkflowCode
The optional workflow code instance.


FlowDocument(name, workflowData, workflowCodeInstance)

Initializes a new instance of the FlowDocument class.

Parameters:

name (required): string
The name of the FlowDocument step.

workflowData (required): IRuntimeWorkflowData
The runtime workflow data required for the step.

workflowCodeInstance (optional): IWorkflowCode
Optional workflow code instance for workflow operations.